<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Demo7</title>
</head>
<body>
    <form action = "receiveDemo7.html" method = "get">
        用户名: <input type = "text" name = "username"><br/>

        密码: <input type = "password" name = "password"><br/>

        性别: <input type = "radio" name = "gender" id = "male" value = "male"><label for = "male">男</label>
            <input type = "radio" name = "gender" id = "female" value = "female"> <label for = "female">女</label><br/>
    
    <!-- <form action = "receiveDemo7.html" method = "get"> -->
        兴趣: <input type = "checkbox" name = "hobby" id = "basketball" value = "basketball"><label for = "basketball">篮球</label>
            <input type = "checkbox" name = "hobby" id = "football" value = "football"><Label for = "football">足球</Label>
            <input type = "checkbox" name = "hobby" id = "badminton" value = "badminton"><label for = "badminton">羽毛球</label>
            <input type = "checkbox" name = "hobby" id = "volleyball" value = "volleyball"><label for = "volleyball">排球</label><br/>

        专业: <select name = "profession">
            <option name = "profession" value = "ComputerScienceAndTechnology">计算机科学与技术</option>
            <option name = "profession" value = "SoftwareEngineering">软件工程</option>
            <option name = "profession" value = "ArtificialIntelligence">人工智能</option>
            <option name = "profession" value = "Internet">物联网</option>
        </select><br/>

        个人描述: <textarea rows = "10" cols = "50"></textarea><br/>

        <input type = "submit" value="提交"><br/>
        <!-- file:///D:/Java/front-end-foundation/2024_11_11/receiveDemo7.html?
        username=%E5%BC%A0%E4%B8%89&password=123456&gender=male&hobby=basketball&hobby=volleyball -->

        <!-- <button>这是button标签</button> -->
        <!-- <input type = "button" value = "提交"> -->
    </form>
</body>
</html>